<!--# layout("/common/layout.html",{"jsBase":"/js/admin/role/"}){ -->

<form class="layui-form layui-form-pane" id="addForm">
	<div class="layui-row" style="margin-left: 50px;">
		<div class="layui-form-item">
			<label class="layui-form-label">角色名称<em style="color: red;">*</em></label>
			<div class="layui-input-inline">
				<input type="text" name="name" autocomplete="off"  class="layui-input" lay-verify="required">
			</div>
		</div>
		<div class="layui-form-item">
			<label class="layui-form-label">角色代码<em style="color: red;">*</em></label>
			<div class="layui-input-inline">
				<input type="text" name="code"  lay-verify="required" autocomplete="off" class="layui-input">
			</div>
		</div>
		<!--<div class="layui-form-item">-->
			<!--<label class="layui-form-label">角色类型</label>-->
			<!--<div class="layui-input-inline">-->
				<!--<layui:simpleDictSelect style='layui-input-inline' type="role_type" id="type" name="type" value="R0"/>-->
			<!--</div>-->
		<!--</div>-->
	</div>

	<layui:submitButtons id="addButton" />
</form>
<!--#} -->
<script>
layui.use(['add'], function(){
  var roleAdd = layui.add
  roleAdd.init();
});

</script>
